print('--------')
for letter in 'Python':
    print('当前字母 :', letter)
print('--------')

fruits = ['英雄', '土豆', '西红柿']
for fruit in fruits:
    print('当前水果 :', fruit)
print('--------')

for idx in range(len(fruits)):
    print('当前水果 :', fruits[idx])
print('--------')

i = 2
while i < 100:
    j = 2
    while j <= i / j:
        if not i % j:
            break
        j = j + 1
    if j > i / j:
        print(i, " 是素数")
    i = i + 1

print('--------')
